package com.dapao.dijkstra.data;

import com.dapao.dijkstra.model.ArgModel;

import java.util.ArrayList;
import java.util.List;

/**
 * 点与点关系数据
 *
 * @author DuHan on 2022/2/10
 * @version 1.0
 */
public class Data {
    /**
     * 手动组织一波数据，组织的结果同同目录的关系图.png
     *
     * @return 点与点关系数据
     */
    public static List<ArgModel> getArgList() {
        List<ArgModel> resultList = new ArrayList<>();

        // A
        ArgModel AArg1 = new ArgModel("A", "B", 1);
        ArgModel AArg2 = new ArgModel("B", "A", 1);
        ArgModel AArg3 = new ArgModel("A", "C", 1);
        ArgModel AArg4 = new ArgModel("C", "A", 1);
        // B
        ArgModel BArg1 = new ArgModel("B", "D", 1);
        ArgModel BArg2 = new ArgModel("D", "B", 1);
        // C
        ArgModel CArg1 = new ArgModel("C", "E", 1);
        ArgModel CArg2 = new ArgModel("E", "C", 1);
        // D
        ArgModel DArg1 = new ArgModel("D", "E", 1);
        ArgModel DArg2 = new ArgModel("E", "D", 1);
        // E
        ArgModel EArg1 = new ArgModel("E", "F", 1);
        ArgModel EArg2 = new ArgModel("F", "E", 1);


        resultList.add(AArg1);
        resultList.add(AArg2);
        resultList.add(AArg3);
        resultList.add(AArg4);
        resultList.add(BArg1);
        resultList.add(BArg2);
        resultList.add(CArg1);
        resultList.add(CArg2);
        resultList.add(DArg1);
        resultList.add(DArg2);
        resultList.add(EArg1);
        resultList.add(EArg2);


        return resultList;
    }
}
